package educrypt.gui.view;

import java.awt.event.ActionListener;

public interface TextView {
	public static final String FILE_BROWSE = "FILE_BROWSE";
	public static final String PREVIEW = "PREVIEW";

	public void addListener(ActionListener ctr);

	public void showFileChooser();

	public void setCipherContext();

	public void setCryptanalysisContext();

	public void setFilePath(String path);

	public void enablePreview(boolean flag);

	public EducryptFileChooserView getFileChooser();

	// public void showPreview(String text);
}
